package com.small.common.util.jwt.constant;

import com.small.common.exception.auth.JwtIllegalArgumentException;
import com.small.common.exception.auth.JwtSignatureException;
import com.small.common.exception.auth.JwtTokenExpiredException;
import com.small.common.exception.auth.ClientForbiddenException;
import com.small.common.msg.MsgCommon;

/**
 * 作者: fenny
 * 邮箱: 893146555@qq.com
 * 时间: 2017/10/15 15:41
 * 描述: 鉴权提示消息常量
 */
public interface MsgAuth extends MsgCommon {

    JwtTokenExpiredException JWT_TOKEN_EXPIRED_EXCEPTION = new JwtTokenExpiredException("User token expired!");

    JwtSignatureException JWT_SIGNATURE_EXCEPTION = new JwtSignatureException("User token signature error!");

    JwtIllegalArgumentException JWT_ILLEGAL_ARGUMENT_EXCEPTION = new JwtIllegalArgumentException("User token is null or empty!");

    ClientForbiddenException CLIENT_FORBIDDEN_EXCEPTION = new ClientForbiddenException("Client is Forbidden!");

}
